package hejie.admin.service;

import publics.model.GuaranteeWay;
import publics.util.Page;

public interface GuaranteeWayService {
	
	/**
	 * 添加担保方式
	 * @param gway
	 * @return Object
	 */
	Object saveGuaranteeWay(GuaranteeWay gway);
	/**
	 * 删除担保方式
	 * @param id
	 * @return boolean
	 */
	boolean deleteGuaranteeWay(Integer id);
	/**
	 * 修改担保方式
	 * @param gway
	 * @return boolean
	 * @throws Exception 
	 */
	boolean updateGuaranteeWay(GuaranteeWay gway) throws Exception;
	/**
	 * 分页查找
	 * @param page 分页对象
	 * @return Page
	 */
	Page findByPage(Page page);

}
